package com.iespring.mapper.admin;

import com.iespring.bean.admin.user.vo.AuthInfoVo;
import com.iespring.bean.common.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdminAuthMapper {
    List<Admin> selectRoleIds();

    List<AuthInfoVo> selectAuthInfo(@Param("roleIds") List<String> roleIds);

    List<String> selectRoleNamesByRoleIds(@Param("roleIds") List<Integer> roleIds);

    List<String> selectPermsByRoleIds(@Param("roleIds") List<Integer> roleIds);

    List<String> selectPermsByRoleIds2(@Param("roleIds") List<Integer> roleIds);
}
